package cn.shyouchi.wuguanjia.android.components.storage;

/**
 * Created by Eenie on 2017/1/13 at 11:30
 * Email: 472279981@qq.com
 * Des:
 */

public class UserStorageManager {

    private static UserStorageManager instance;
    private UserStorage mUserStorage;

    private UserStorageManager(UserStorage userStorage) {
        mUserStorage = userStorage;
    }

    public static UserStorageManager getInstance() {
        if (instance == null) {
            synchronized (UserStorageManager.class) {
                if (instance == null) {
                    instance = new UserStorageManager(new UserStorage(null));
                }
            }
        }
        return instance;
    }


}
